JetBackup\Destination\Vendors\GoogleDrive\Client\Client A

Total Complexity 73
Dependencies 15
Dependents 2
Total lines 553
Lines of code 314
Logical lines of code 185
Comment lines 115
Methods 24
Properties 5

Methods 24

Method Rating Maintainability Complexity Lines of code
_checkResponse()
A
55 10 19
isAccessTokenExpired()
A
53 8 21
upload()
A
47 7 34
listFiles()
S
48 5 30
createDir()
S
53 4 21
getUploadOffset()
S
54 4 20
fetchAccessTokenWithRefreshToken()
S
52 3 24
fetchAccessTokenWithAuthCode()
S
53 3 23
getUploadURL()
S
52 3 23
getFile()
S
58 3 15
about()
S
58 3 15
deleteFile()
S
58 3 15
downloadChunk()
S
57 2 15
download()
S
60 2 13
uploadChunk()
S
61 2 11
getClientSecret()
S
91 2 1
getClientId()
S
91 2 1
setClientSecret()
S
92 1 1
getAccessToken()
S
82 1 3
setClientId()
S
92 1 1
setRefreshToken()
S
92 1 1
setAccessToken()
S
81 1 3
getRefreshToken()
S
92 1 1
__construct()
S
80 1 3